<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

	<head>
		<meta charset="UTF-8">
		<title>社团管理系统</title>
		<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="css/commom.css" />
		<link rel="stylesheet" type="text/css" href="css/style.css" />
	</head>

	<body>
		<header class="header-wrapper"> <span class="pull-left header-logo"> <a class="pull-left" href="../groupmanage/login.html"><img src="images/社团之家logo12.png" /></a> <span class="font-blue2">&nbsp;&nbsp;欢迎使用社团管理系统！</span> </span> <span class="pull-right header-r"> <span>你好，<em class="font-orange">${username }</em>&nbsp;&nbsp;</span>
			<a class="btn btn-link font-blue2" href="tc.do">退出</a>
			</span>
		</header>
		<div class="left-nav-wrapper">
			<ul class="left-nav-a">
					<!--1-->
				<li class="active">
					<a class="" href="#" onclick="aclick('fzrstxx.do')">社团信息</a>
				</li>
				<li class="">
					<a href="#">社团新闻</a>
					<ul class="left-nav-b">
						<li>
							<a  class="" href="#" onclick="aclick('addnews.do')">添加社团新闻</a>
							<a  class="" href="#" onclick="aclick('new.do')">社团新闻管理</a>
						</li>
					</ul>
				</li>
				<li class="">
					<a href="#">社团活动</a>
					<ul class="left-nav-b">
						<li>
							<a class="" href="#" onclick="aclick('addhd.do')">添加社团活动</a>
							<a class="" href="#" onclick="aclick('sthdgl.do')">社团活动管理</a>
						</li>
					</ul>
				</li>
				<!--1-->
				<li class="">
					<a href="#">社团成员</a>
					<ul class="left-nav-b">
						<li>
							<a  class="" href="#" onclick="aclick('addcy.do')">添加社团成员</a>
							<a  class="" href="#" onclick="aclick('cygl.do')">成员管理</a>
						</li>
					</ul>
				</li>
				<li class="">
					<a href="#">社团经费</a>
					<ul class="left-nav-b">
						<li>
							<a class="" href="#" onclick="aclick('addjf.do')">添加经费支出</a>
							<a class="" href="#" onclick="aclick('stjfgl.do')">社团经费管理</a>
						</li>
					</ul>
				</li>
				<!--1-->
				<li class="">
					<a href="#" onclick="aclick('lyck.do')">留言板管理</a>
				</li>
			</ul>
		</div>
		 <div class="right-wrapper">
			<div id="fzrright" style="width: 100%;height: 100%"></div>
		</div> 
		<script src="js/bootstrap.min.js" type="text/javascript"></script>
		<script src="js/jquery-2.1.3.min.js" type="text/javascript"></script>
		<script type="text/javascript">
			$(function() {

				$(".left-nav-a > li").click(function() {
					$(this).addClass("active").siblings().removeClass("active");
				});
				$(".left-nav-a .left-nav-b a").click(function() {
					$(this).addClass("active").siblings().removeClass("active");
				});

			})
			function aclick(url){
				$.post("/groupmanage/"+url,function(date){
					if(date=="false"){
						location.href="../groupmanage/login.html";
					}else{
						$("#fzrright").html(date);					
					}
				})
			}
		</script>
	</body>

</html>